Align CI and requires-python with Home Assistant (3.13, 3.14)#71
Merged
Conversation
- CI: test on Python 3.13 and 3.14 only (matches HA's ALL_PYTHON_VERSIONS) - pyproject.toml: requires-python = ">=3.13" (matches HA's >=3.13.2) - Upgrade actions: checkout@v4, setup-python@v5 - Regenerate uv.lock for new requires-python Fixes CI failure: Python 3.9 no longer available on GitHub Actions runners. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Aligns CI and
requires-pythonwith the versions Home Assistant uses, since this library is mainly used there.Changes
ALL_PYTHON_VERSIONS).requires-python = ">=3.13"(matches HA's>=3.13.2).checkout@v4,setup-python@v5.requires-python.Why
Made with Cursor
Note
Medium Risk
Drops support for Python 3.9–3.12 and changes the resolved dependency set via a regenerated lockfile, which may affect downstream users/environments even though runtime code is unchanged.
Overview
Updates the supported Python range to 3.13+ by bumping
requires-pythonto>=3.13and trimming CI to run only on Python3.13and3.14.Refreshes CI dependencies by upgrading
actions/checkouttov4andactions/setup-pythontov5, and regeneratesuv.lockfor the new Python baseline (dropping older-version-only transitive deps/markers liketomli,typing-extensions, andasync-timeout).Written by Cursor Bugbot for commit 2c10e5c. This will update automatically on new commits. Configure here.